package com.issoft.studentresitor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.issoft.studentresitor.domain.dto.UserDTO;
import com.issoft.studentresitor.domain.pojo.Student;
import com.issoft.studentresitor.domain.pojo.User;
import com.issoft.studentresitor.domain.vo.UserVo;

import java.util.List;

public interface IUserService extends IService<User> {
    // 插入用户
    void insertUser(User user);

    UserVo login(UserDTO userDTO);

    int updatePassword(UserDTO userDTO);
    // 查询没有user_id的
    List<User> queryNoUserIdStu();

    int updatePasswordByUserId(Integer userId, String password);
}
